gtk4.git
17 years agoDon't export emit_ok_response
Matthias Clasen [Mon, 15 Dec 2008 19:55:21 +0000 (19:55 +0000)]
Don't export emit_ok_response

2008-12-15  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintunixdialog.c: Don't export emit_ok_response

svn path=/trunk/; revision=21909

17 years agoMask G_FILE_TYPE_SHORTCUT as a directory (#561494)
Tomas Bzatek [Mon, 15 Dec 2008 16:12:09 +0000 (16:12 +0000)]
Mask G_FILE_TYPE_SHORTCUT as a directory (#561494)

2008-12-15  Tomas Bzatek  <tbzatek@redhat.com>

        * gtk/gtkfilechooserdefault.c: (list_row_activated):
        * gtk/gtkfilesystem.c: (_gtk_file_info_consider_as_directory):
        Mask G_FILE_TYPE_SHORTCUT as a directory (#561494)

svn path=/trunk/; revision=21906

17 years agoBug #564555. #undef GTK_DISABLE_DEPRECATED where we need to access
Li Yuan [Mon, 15 Dec 2008 04:48:52 +0000 (04:48 +0000)]
Bug #564555. #undef GTK_DISABLE_DEPRECATED where we need to access

2008-12-15  Li Yuan  <li.yuan@sun.com>

        * gailitem.c:
        Bug #564555.  #undef GTK_DISABLE_DEPRECATED where we need to access
        deprecated symbols.

svn path=/trunk/; revision=21904

17 years agoMount the enclosing volume if the folder we're switching to is not
Matthias Clasen [Sun, 14 Dec 2008 03:33:41 +0000 (03:33 +0000)]
Mount the enclosing volume if the folder we're switching to is not

        * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
        Mount the enclosing volume if the folder we're switching to is not
        mounted. Patch by Tomas Bzatek, based on work by Carlos Garnacho

svn path=/trunk/; revision=21899

17 years agoPrivately export this method. It classifies directories and mountables the
Matthias Clasen [Sun, 14 Dec 2008 02:14:19 +0000 (02:14 +0000)]
Privately export this method. It classifies directories and mountables the

        * gtk/gtkfilesystem.[hc] (_gtk_file_info_consider_as_directory):
        Privately export this method. It classifies directories and mountables
        the same.

        * gtk/gtkfilesystem.c (enclosing_volume_mount_cb): Silently drop
        G_IO_ERROR_ALREADY_MOUNTED error for gvfs backends without visible
        mounts.

        * gtk/gtkfilesystemmodel.c:
        * gtk/gtkfilechooserbutton.c:
        * gtk/gtkfilechooserentry.c:
        * gtk/gtkfilechooserdefault.c: Use the new function instead of
        direct checks for G_FILE_TYPE_DIRECTORY throughout.

svn path=/trunk/; revision=21898

17 years agofix the build
Matthias Clasen [Sun, 14 Dec 2008 01:16:05 +0000 (01:16 +0000)]
fix the build

svn path=/trunk/; revision=21896

17 years agoDon't show an error dialog when changing to a non-existing folder, since
Matthias Clasen [Sun, 14 Dec 2008 00:43:09 +0000 (00:43 +0000)]
Don't show an error dialog when changing to a non-existing folder, since

        * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
        Don't show an error dialog when changing to a non-existing folder,
        since this is ususally just an annoyance.

svn path=/trunk/; revision=21894

17 years agoAvoid a warning in tests. Patch by Christian Dywan
Matthias Clasen [Sun, 14 Dec 2008 00:32:32 +0000 (00:32 +0000)]
Avoid a warning in tests. Patch by Christian Dywan

        * gtk/gktfilechooserdefault.c (set_local_only): Avoid a warning
        in tests. Patch by Christian Dywan

svn path=/trunk/; revision=21892

17 years agoDon't try to keep state in a cell renderer between two paint calls. It
Matthias Clasen [Sat, 13 Dec 2008 08:18:50 +0000 (08:18 +0000)]
Don't try to keep state in a cell renderer between two paint calls. It

        * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_pulse):
        Don't try to keep state in a cell renderer between two paint
        calls. It doesn't work. Patch by Kristian Mueller

svn path=/trunk/; revision=21890

17 years agoAllow out-of-order setting of model and active. Patch by Christian Dywan
Matthias Clasen [Sat, 13 Dec 2008 08:11:54 +0000 (08:11 +0000)]
Allow out-of-order setting of model and active. Patch by Christian Dywan

        * gtk/gtkcombobox.c: Allow out-of-order setting of model and active.
        Patch by Christian Dywan

svn path=/trunk/; revision=21888

17 years agoRemove a C99ism. Pointed out by Eric Lamarque
Matthias Clasen [Sat, 13 Dec 2008 08:05:11 +0000 (08:05 +0000)]
Remove a C99ism. Pointed out by Eric Lamarque

        * gdk/x11/gdktestutils-x11.c (gdk_test_simulate_button):
        Remove a C99ism. Pointed out by Eric Lamarque

svn path=/trunk/; revision=21886

17 years agoHandle separate append/set for rows. Patch by Li Yuan
Matthias Clasen [Sat, 13 Dec 2008 07:59:58 +0000 (07:59 +0000)]
Handle separate append/set for rows. Patch by Li Yuan

        * gtk/gtkiconview.c (gtk_icon_view_accessible_model_row_changed):
        Handle separate append/set for rows.  Patch by Li Yuan

svn path=/trunk/; revision=21884

17 years agoDestroy the image too. Patch by Carlos Garcia Campos
Matthias Clasen [Sat, 13 Dec 2008 05:42:46 +0000 (05:42 +0000)]
Destroy the image too. Patch by Carlos Garcia Campos

        * gtk/gtkstatusicon.c (gtk_status_icon_finalize): Destroy the
        image too. Patch by Carlos Garcia Campos

svn path=/trunk/; revision=21882

17 years agoInitialize the XAtom cache earlier. Patch by Christian Persch
Matthias Clasen [Sat, 13 Dec 2008 05:33:14 +0000 (05:33 +0000)]
Initialize the XAtom cache earlier. Patch by Christian Persch

        * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize the
        XAtom cache earlier. Patch by Christian Persch

svn path=/trunk/; revision=21880

17 years agoUse the new order correctly. Patch by Li Yuan
Matthias Clasen [Sat, 13 Dec 2008 05:28:21 +0000 (05:28 +0000)]
Use the new order correctly. Patch by Li Yuan

        * gtk/gtkiconview.c (gtk_icon_view_accessible_model_rows_reordered):
        Use the new order correctly.  Patch by Li Yuan

svn path=/trunk/; revision=21878

17 years agoFix a typo
Matthias Clasen [Sat, 13 Dec 2008 05:20:10 +0000 (05:20 +0000)]
Fix  a typo

svn path=/trunk/; revision=21877

17 years agoHandle being called early. Bug report by Andrés G. Aragoneses
Matthias Clasen [Sat, 13 Dec 2008 04:39:38 +0000 (04:39 +0000)]
Handle being called early. Bug report by Andrés G. Aragoneses

        * gtk/gtkrc.c (gtk_rc_parse_default_files): Handle being called
        early. Bug report by Andrés G. Aragoneses

svn path=/trunk/; revision=21875

17 years agoSet an empty title on password dialogs. Pointed out by Máirín Duffy.
Matthias Clasen [Sat, 13 Dec 2008 03:55:04 +0000 (03:55 +0000)]
Set an empty title on password dialogs. Pointed out by Máirín Duffy.

        * gtk/gtkmountoperation.c: Set an empty title on password dialogs.
        Pointed out by Máirín Duffy.

svn path=/trunk/; revision=21873

17 years agoBug #512743. (gail_tree_view_changed_gtk): Clean cell before go through
Li Yuan [Fri, 12 Dec 2008 06:12:27 +0000 (06:12 +0000)]
Bug #512743. (gail_tree_view_changed_gtk): Clean cell before go through

2008-12-12  Li Yuan  <li.yuan@sun.com>

        * gailtreeview.c: Bug #512743.
        (gail_tree_view_changed_gtk): Clean cell before go through the info
        list, for "changed" signal could come before a "row-deleted".
        (clean_cell_info):
        Prevent the thread to be scheduled before clean_cell_info
        finish its job.

svn path=/trunk/; revision=21872

17 years agoDocument the "set-scroll-adjustments" signal
Sven Herzberg [Thu, 11 Dec 2008 13:09:27 +0000 (13:09 +0000)]
Document the "set-scroll-adjustments" signal

2008-12-11  Sven Herzberg  <sven@imendio.com>

Document the "set-scroll-adjustments" signal

Reviewed by Kristian Rietveld.

* gtk/gtkiconview.c,
* gtk/gtklayout.c,
* gtk/gtktextview.c,
* gtk/gtktreeview.c,
* gtk/gtkviewport.c: added proper documentation for the signal

svn path=/trunk/; revision=21871

17 years agoBug 563994 – Input method module interface not documented
Daniel Elstner [Thu, 11 Dec 2008 11:38:59 +0000 (11:38 +0000)]
Bug 563994 – Input method module interface not documented

* gtk/gtkimcontext.h: Add public/private markers.
* gtk/gtkimcontext.c: Add section documentation which explains how
to add a new input method module to GTK+.  Document the signals and
virtual functions of GtkIMContextClass.
* gtk/gtkimmodule.c: Document struct GtkIMContextInfo.
* docs/reference/gtk/gtk-sections.txt: Add GtkIMContextClass and
GtkIMContextInfo to section GtkIMContext.
* docs/reference/gtk/Makefile.am (IGNORE_HFILES): Remove
gtkimmodule.h from the list in order to pick up GtkIMContextInfo.
* docs/reference/gtk/tmpl/gtkimcontext.sgml: Remove file from
repository since all the hand-edited content has been migrated to
source file comments.

svn path=/trunk/; revision=21870

17 years agoBug 563991 – gtk_file_chooser_button_new_with_backend is deprecated --
Matthias Clasen [Wed, 10 Dec 2008 18:02:30 +0000 (18:02 +0000)]
Bug 563991 – gtk_file_chooser_button_new_with_backend is deprecated --

2008-12-10  Matthias Clasen  <mclasen@redhat.com>

        Bug 563991 – gtk_file_chooser_button_new_with_backend is deprecated
        -- but what should be used instead?

        * gtk/gtkfilechooserbutton.c: Enhanced deprecation annotation.

svn path=/trunk/; revision=21868

17 years agoImprove GTK_MODULES docs
Matthias Clasen [Wed, 10 Dec 2008 18:00:02 +0000 (18:00 +0000)]
Improve GTK_MODULES docs

svn path=/trunk/; revision=21867

17 years agoMaintenance of Multipress input method by Openismus GmbH:
Daniel Elstner [Wed, 10 Dec 2008 11:58:37 +0000 (11:58 +0000)]
Maintenance of Multipress input method by Openismus GmbH:

* modules/input/gtkimcontextmultipress.[ch]: Clean up the code
a bit to follow the GTK+ coding style more closely.  Fix the code
to emit "preedit-start" and "preedit-end", too, rather than only
"preedit-changed".
(GTK_IM_CONTEXT_MULTIPRESS*): Rename incorrectly spelled macros
gtk_im_context_multipress*. Shouldn't break API or ABI as it's
only used internally.
* modules/input/immultipress.c: More cleanup,
* modules/input/README.multipress: ditto.

svn path=/trunk/; revision=21864

17 years agoadd missing #ifndef GDK_DISABLE_DEPRECATED.
Michael Natterer [Tue, 9 Dec 2008 15:37:59 +0000 (15:37 +0000)]
add missing #ifndef GDK_DISABLE_DEPRECATED.

2008-12-09  Michael Natterer  <mitch@imendio.com>

* gdk/gdk.symbols: add missing #ifndef GDK_DISABLE_DEPRECATED.

svn path=/trunk/; revision=21863

17 years agoadd missing semicolon.
Michael Natterer [Tue, 9 Dec 2008 15:13:55 +0000 (15:13 +0000)]
add missing semicolon.

2008-12-09  Michael Natterer  <mitch@imendio.com>

* gtk/gtkcontainer.c (struct PackingPropertiesData): add missing
semicolon.

* gtk/gtkcontainer.c (attributes_text_element): "value" is a
gchar*, not const gchar*.

svn path=/trunk/; revision=21862

17 years agoRemove empty folder from svn.
Michael Natterer [Tue, 9 Dec 2008 15:08:21 +0000 (15:08 +0000)]
Remove empty folder from svn.

svn path=/trunk/; revision=21861

17 years agofix a glitch.
Michael Natterer [Tue, 9 Dec 2008 14:51:31 +0000 (14:51 +0000)]
fix a glitch.

svn path=/trunk/; revision=21860

17 years agoMakefile.am add GTK_DISABLE_DEPRECATED to CFLAGS.
Michael Natterer [Tue, 9 Dec 2008 14:51:16 +0000 (14:51 +0000)]
Makefile.am add GTK_DISABLE_DEPRECATED to CFLAGS.

2008-12-09  Michael Natterer  <mitch@imendio.com>

* Makefile.am
* tests/Makefile.am: add GTK_DISABLE_DEPRECATED to CFLAGS.

* gail.c
* gailclist.c
* gailclistcell.c
* gailcombo.c
* gaillist.c
* gailmenu.c
* gailoptionmenu.c
* gailpixmap.c
* gailprogressbar.c
* gailtoplevel.c
* gailwidget.c
* gailwindow.c
* tests/ferret.c
* tests/testcombo.c
* tests/testlib.h

* tests/testoptionmenu.c: #undef it where we need to access
deprecated cruft.

svn path=/trunk/; revision=21859

17 years agoundeprecate.
Michael Natterer [Tue, 9 Dec 2008 14:49:34 +0000 (14:49 +0000)]
undeprecate.

2008-12-09  Michael Natterer  <mitch@imendio.com>

* gailtreeview.c: undeprecate.

svn path=/trunk/; revision=21858

17 years agoAdd bug ref
Matthias Clasen [Mon, 8 Dec 2008 04:01:32 +0000 (04:01 +0000)]
Add bug ref

svn path=/trunk/; revision=21856

17 years agoMake gtk_builder_get_translation_domain() useful for subparsers.
Matthias Clasen [Mon, 8 Dec 2008 03:57:16 +0000 (03:57 +0000)]
Make gtk_builder_get_translation_domain() useful for subparsers.

        * gtk/gtkbuilderparser.c: Make gtk_builder_get_translation_domain()
        useful for subparsers.

        * gtk/gtkcontainer.c: Make the child property parser support
        translatable child properties.

svn path=/trunk/; revision=21855

17 years agoFix the build
Matthias Clasen [Mon, 8 Dec 2008 02:47:21 +0000 (02:47 +0000)]
Fix the build

svn path=/trunk/; revision=21854

17 years agoCall gtk_show_uri() if no uri hook has been set. Patch by Emmanuele Bassi
Matthias Clasen [Mon, 8 Dec 2008 02:39:28 +0000 (02:39 +0000)]
Call gtk_show_uri() if no uri hook has been set. Patch by Emmanuele Bassi

        * gtk/gtklinkbutton.c: Call gtk_show_uri() if no uri hook has
        been set. Patch by Emmanuele Bassi

svn path=/trunk/; revision=21853

17 years agoCorrect the documentation. Patch by Paul Davis
Matthias Clasen [Mon, 8 Dec 2008 01:46:43 +0000 (01:46 +0000)]
Correct the documentation. Patch by Paul Davis

        * gdk/gdkdisplay.c (gdk_display_get_window_at_pointer): Correct
        the documentation. Patch by Paul Davis

svn path=/trunk/; revision=21852

17 years agoClean up includes in test printbackend.
Matthias Clasen [Mon, 8 Dec 2008 00:44:50 +0000 (00:44 +0000)]
Clean up includes in test printbackend.

svn path=/trunk/; revision=21851

17 years agoBug 563547 – Update gdkx11 atom precache table
Behdad Esfahbod [Mon, 8 Dec 2008 00:01:29 +0000 (00:01 +0000)]
Bug 563547 – Update gdkx11 atom precache table

2008-12-07  Behdad Esfahbod  <behdad@gnome.org>

        Bug 563547 – Update gdkx11 atom precache table

        * gdk/x11/gdkdisplay-x11.c: Add more atoms to precache.

svn path=/trunk/; revision=21849

17 years agoUpdated Finnish translation
Ilkka Tuohela [Sat, 6 Dec 2008 07:35:32 +0000 (07:35 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=21848

17 years agoUpdated Finnish translation
Ilkka Tuohela [Sat, 6 Dec 2008 07:27:30 +0000 (07:27 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=21847

17 years agoBug 546285 – Allow GtkEntry to draw progress
Michael Natterer [Fri, 5 Dec 2008 11:31:30 +0000 (11:31 +0000)]
Bug 546285 – Allow GtkEntry to draw progress

2008-12-05  Michael Natterer  <mitch@imendio.com>

Bug 546285 – Allow GtkEntry to draw progress

* gtk/gtkentry.[ch]: add new API similar to GtkProgressBar which
allows to set the entry's progress_fraction, its progress_pulse_step
and to let the entry's progress pulse.

* gtk/gtk.symbols: updated.

* tests/testgtk.c: add progress demo code to the "Entry" window.

svn path=/trunk/; revision=21846

17 years agoAdd missing space in gtk-doc deprecated syntax
Johan Dahlin [Thu, 4 Dec 2008 19:56:42 +0000 (19:56 +0000)]
Add missing space in gtk-doc deprecated syntax

2008-12-04  Johan Dahlin  <jdahlin@async.com.br>

        * gtk/gtkstatusicon.c:
        Add missing space in gtk-doc deprecated syntax

svn path=/trunk/; revision=21845

17 years agoCloses #557420 – Some compose sequences don't work anymore
Simos Xenitellis [Wed, 3 Dec 2008 16:19:45 +0000 (16:19 +0000)]
Closes #557420 – Some compose sequences don't work anymore

svn path=/trunk/; revision=21843

17 years agoBug 562998 – GtkFontButton documentation improvements
Sven Herzberg [Wed, 3 Dec 2008 13:15:39 +0000 (13:15 +0000)]
Bug 562998 – GtkFontButton documentation improvements

2008-12-03  Sven Herzberg  <sven@imendio.com>

Bug 562998 – GtkFontButton documentation improvements

* gtk/gtkfontbutton.c: mention the way the font string should be used.
Patch by Sven Herzberg and Nelson Benitez

svn path=/trunk/; revision=21842

17 years agoBug 559914 – eog doesn't apply paper setup.
Marek Kasik [Wed, 3 Dec 2008 10:17:45 +0000 (10:17 +0000)]
Bug 559914 – eog doesn't apply paper setup.

2008-12-03  Marek Kasik  <mkasik@redhat.com>

Bug 559914 – eog doesn't apply paper setup.

* gtk/gtkpapersize.c: Call the gtk_paper_size_new_from_ppd() with width
and height in points.

svn path=/trunk/; revision=21841

17 years agoBug 562878 – password save incorrectly set in gtkmountoperation
Carlos Garcia Campos [Tue, 2 Dec 2008 09:06:35 +0000 (09:06 +0000)]
Bug 562878 – password save incorrectly set in gtkmountoperation

2008-12-02  Carlos Garcia Campos  <carlosgc@gnome.org>

Bug 562878 – password save incorrectly set in gtkmountoperation

* gtk/gtkmountoperation.c (remember_button_toggled),
(gtk_mount_operation_ask_password): Remember the password save
flags only when the radio button becomes active. Set also the
default state of the radio buttons depending on the current value
of password save flags.

svn path=/trunk/; revision=21840

17 years agoFilter out shadow mounts
Matthias Clasen [Mon, 1 Dec 2008 05:42:28 +0000 (05:42 +0000)]
Filter out shadow mounts

svn path=/trunk/; revision=21838

17 years agoRevert an accidental change
Matthias Clasen [Mon, 1 Dec 2008 03:41:00 +0000 (03:41 +0000)]
Revert an accidental change

svn path=/trunk/; revision=21837

17 years agoBug 562817 – Typo in GtkDialog
Paul Bolle [Sun, 30 Nov 2008 23:49:29 +0000 (23:49 +0000)]
Bug 562817 – Typo in GtkDialog

2008-12-01  Paul Bolle  <pebolle@tiscali.nl>

Bug 562817 – Typo in GtkDialog

* gtk/gtkdialog.c: Fix typo

svn path=/trunk/; revision=21836

17 years agoBug 554453 – "typeahead find" widget of GtkTreeView appears on wrong
Matthias Clasen [Sun, 30 Nov 2008 06:05:23 +0000 (06:05 +0000)]
Bug 554453 – "typeahead find" widget of GtkTreeView appears on wrong

2008-11-29  Matthias Clasen  <mclasen@redhat.com>

        Bug 554453 – "typeahead find" widget of GtkTreeView appears on
        wrong monitor in a multi-head environment

        * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
        Make sure the typeahead window follows screen changes of the
        treeview. Noticed by Rainer Stransky

svn path=/trunk/; revision=21835

17 years agoBug 559622 – GdkDevice test segfaults
Christian Dywan [Sun, 30 Nov 2008 05:33:57 +0000 (05:33 +0000)]
Bug 559622 – GdkDevice test segfaults

2008-11-30  Christian Dywan  <christian@imendio.com>

Bug 559622 – GdkDevice test segfaults

* gdk/x11/gdkdisplay-x11.c (gdk_display_x11_dispose):
* gdk/x11/gdkinput.c (gdk_device_class_init), (gdk_device_dispose):
Free and reset device in dispose. Patch by Michael Natterer and myself.

svn path=/trunk/; revision=21834

17 years agoBug 554076 – eventually release g_new-ed supported_atoms
Christian Dywan [Sun, 30 Nov 2008 05:28:28 +0000 (05:28 +0000)]
Bug 554076 – eventually release g_new-ed supported_atoms

2008-11-30  Christian Dywan  <christian@imendio.com>

Bug 554076 – eventually release g_new-ed supported_atoms

* gdk/x11/gdkevents-x11.c (cleanup_atoms),
(gdk_x11_screen_supports_net_wm_hint): Set cleanup callback.
        Patch by Caolan McNamara.

svn path=/trunk/; revision=21833

17 years agoBug 561186 – GdkPixbuf API type checking needs cleanup
Christian Dywan [Sun, 30 Nov 2008 05:22:03 +0000 (05:22 +0000)]
Bug 561186 – GdkPixbuf API type checking needs cleanup

2008-11-30  Christian Dywan  <christian@imendio.com>

Bug 561186 – GdkPixbuf API type checking needs cleanup

* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write),
(gdk_pixbuf_loader_get_pixbuf), (gdk_pixbuf_loader_get_animation),
(gdk_pixbuf_loader_close), (gdk_pixbuf_loader_get_format):
* gdk-pixbuf-scale.c (gdk_pixbuf_scale), (gdk_pixbuf_composite),
(gdk_pixbuf_composite_color), (gdk_pixbuf_scale_simple),
(gdk_pixbuf_composite_color_simple):
* gdk-pixbuf-simple-anim.c (gdk_pixbuf_simple_anim_add_frame):
* gdk-pixbuf-util.c (gdk_pixbuf_add_alpha),
(gdk_pixbuf_apply_embedded_orientation):
        Improve type checking in pixbuf API

svn path=/trunk/; revision=21832

17 years agoBug 539263 – Deprecate gdk_window_get_toplevels
Christian Dywan [Sun, 30 Nov 2008 05:04:29 +0000 (05:04 +0000)]
Bug 539263 – Deprecate gdk_window_get_toplevels

2008-11-30  Christian Dywan  <christian@imendio.com>

Bug 539263 – Deprecate gdk_window_get_toplevels

* gdk/gdkwindow.c:
* gdk/gdkwindow.h: Deprecate gdk_window_get_toplevels

svn path=/trunk/; revision=21831

17 years agobnc447004 - Flip tree lines around in the right-to-left case
Federico Mena Quintero [Sat, 29 Nov 2008 22:15:37 +0000 (22:15 +0000)]
bnc447004 - Flip tree lines around in the right-to-left case
2008-11-29  Federico Mena Quintero  <federico@novell.com>

* gtk/gtktreeview.c (gtk_tree_view_bin_expose): If tree lines are
enabled, flip them around for the right-to-left case.  Fixes
https://bugzilla.novell.com/show_bug.cgi?id=447004.  Patch by
Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt>

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=21829

17 years agoUpdate all screnshots of reference to have a consistent look.
Baptiste Mille-Mathias [Sat, 29 Nov 2008 21:19:12 +0000 (21:19 +0000)]
Update all screnshots of reference to have a consistent look.

svn path=/trunk/; revision=21828

17 years agoTypo fix.
Christian Persch [Sat, 29 Nov 2008 21:14:31 +0000 (21:14 +0000)]
Typo fix.

* gtk/gtkselection.c: Typo fix.

svn path=/trunk/; revision=21827

17 years agobetter deprecation notes
Matthias Clasen [Sat, 29 Nov 2008 08:22:00 +0000 (08:22 +0000)]
better deprecation notes

svn path=/trunk/; revision=21826

17 years agoMore deprecation cleanup
Matthias Clasen [Sat, 29 Nov 2008 08:10:22 +0000 (08:10 +0000)]
More deprecation cleanup

svn path=/trunk/; revision=21825

17 years agoMore deprecation cleanup
Matthias Clasen [Sat, 29 Nov 2008 08:02:42 +0000 (08:02 +0000)]
More deprecation cleanup

svn path=/trunk/; revision=21824

17 years agoMore of the same
Matthias Clasen [Sat, 29 Nov 2008 07:58:34 +0000 (07:58 +0000)]
More of the same

svn path=/trunk/; revision=21823

17 years agoMore of the same
Matthias Clasen [Sat, 29 Nov 2008 07:56:32 +0000 (07:56 +0000)]
More of the same

svn path=/trunk/; revision=21822

17 years agobetter deprecation annotation
Matthias Clasen [Sat, 29 Nov 2008 07:29:25 +0000 (07:29 +0000)]
better deprecation annotation

svn path=/trunk/; revision=21821

17 years agoimprove deprecation annotation
Matthias Clasen [Sat, 29 Nov 2008 07:22:00 +0000 (07:22 +0000)]
improve deprecation annotation

svn path=/trunk/; revision=21820

17 years agoimprove deprecation annotation
Matthias Clasen [Sat, 29 Nov 2008 07:19:12 +0000 (07:19 +0000)]
improve deprecation annotation

svn path=/trunk/; revision=21819

17 years agoimprove deprecation annotation
Matthias Clasen [Sat, 29 Nov 2008 07:12:49 +0000 (07:12 +0000)]
improve deprecation annotation

svn path=/trunk/; revision=21818

17 years agobetter deprecation annotation
Matthias Clasen [Sat, 29 Nov 2008 07:06:37 +0000 (07:06 +0000)]
better deprecation annotation

svn path=/trunk/; revision=21817

17 years agoImprove deprecation annotation
Matthias Clasen [Sat, 29 Nov 2008 07:01:32 +0000 (07:01 +0000)]
Improve deprecation annotation

svn path=/trunk/; revision=21816

17 years agoImprove deprecation annotations
Matthias Clasen [Sat, 29 Nov 2008 06:57:55 +0000 (06:57 +0000)]
Improve deprecation annotations

svn path=/trunk/; revision=21815

17 years agoImprove deprecation annotations
Matthias Clasen [Sat, 29 Nov 2008 06:31:17 +0000 (06:31 +0000)]
Improve deprecation annotations

svn path=/trunk/; revision=21814

17 years agoDon't rely on gtk_expander_get_label
Matthias Clasen [Fri, 28 Nov 2008 04:04:03 +0000 (04:04 +0000)]
Don't rely on gtk_expander_get_label

svn path=/trunk/; revision=21812

17 years agoBug 561504 – testgtk should load rc file from sub folder
Christian Dywan [Wed, 26 Nov 2008 08:36:10 +0000 (08:36 +0000)]
Bug 561504 – testgtk should load rc file from sub folder

2008-11-26  Christian Dywan  <christian@imendio.com>

Bug 561504 – testgtk should load rc file from sub folder

* tests/testgtk.c (main):
        Make testgtk look in subfolder and warn if not found

svn path=/trunk/; revision=21809

17 years agoBug 559009 – gtk_radio_button_get_group documentation needs to say
Christian Dywan [Tue, 25 Nov 2008 15:59:05 +0000 (15:59 +0000)]
Bug 559009 – gtk_radio_button_get_group documentation needs to say

2008-11-25  Christian Dywan  <christian@imendio.com>

Bug 559009 – gtk_radio_button_get_group documentation needs
        to say whether to free the returned GSList

* gtk/tmpl/gtkradiobutton.sgml: Clarify radio_button_get_group docs

svn path=/trunk/; revision=21808

17 years agoBug 559947 – Unchecked dependency on python>=2.4
Johan Dahlin [Tue, 25 Nov 2008 13:09:43 +0000 (13:09 +0000)]
Bug 559947 – Unchecked dependency on python>=2.4

2008-11-25  Johan Dahlin  <jdahlin@async.com.br>

    Bug 559947 – Unchecked dependency on python>=2.4

    * gtk/gtk-builder-convert:
    Avoid using sorted() which is only present in python 2.

svn path=/trunk/; revision=21807

17 years agoBug 561539 - Fix warnings when size allocations fall short of border width
Tristan Van Berkom [Mon, 24 Nov 2008 19:20:16 +0000 (19:20 +0000)]
Bug 561539 - Fix warnings when size allocations fall short of border width

* gtk/gtkalignment.c: Bug 561539 - Fix warnings when size allocations
fall short of border width and padding.

svn path=/trunk/; revision=21805

17 years agoBug #554002. Add cache's page count when add pages.
Li Yuan [Mon, 24 Nov 2008 06:33:34 +0000 (06:33 +0000)]
Bug #554002. Add cache's page count when add pages.

2008-11-24  Li Yuan  <li.yuan@sun.com>

        * gailnotebook.c: (gail_notebook_page_added):
        Bug #554002. Add cache's page count when add pages.

svn path=/trunk/; revision=21800

17 years agoBug 561335 - Fix typos in GtkToolItem documentation
Paul Bolle [Sat, 22 Nov 2008 14:26:00 +0000 (14:26 +0000)]
Bug 561335 - Fix typos in GtkToolItem documentation

* gtk/gtktoolitem.c: Fix typos in GtkToolItem documentation

svn path=/trunk/; revision=21798

17 years agoUse a new gtk-doc feature to generate much nicer indices.
Matthias Clasen [Fri, 21 Nov 2008 08:21:28 +0000 (08:21 +0000)]
Use a new gtk-doc feature to generate much nicer indices.

2008-11-21  Matthias Clasen  <mclasen@redhat.com>

        * gtk/Makefile.am:
        * gdk/Makefile.am:
        * gdk-pixbuf/Makefile.am: Use a new gtk-doc feature to generate
        much nicer indices.

        * gtk/drawing-model.xml: Fix document structure

svn path=/trunk/; revision=21795

17 years agoBump gtk-doc dependency to 1.11 for nicer index-generation.
Matthias Clasen [Fri, 21 Nov 2008 08:20:19 +0000 (08:20 +0000)]
Bump gtk-doc dependency to 1.11 for nicer index-generation.

2008-11-21  Matthias Clasen <mclasen@redhat.com>

        * configure.in: Bump gtk-doc dependency to 1.11 for
        nicer index-generation.

2008-11-21  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkmountoperation.[hc]: Declare structs in a way that
        gtk-doc understands.

svn path=/trunk/; revision=21794

17 years agoBug 377699 – realizing gtk.Progress() causes SEGV
Christian Dywan [Mon, 17 Nov 2008 09:50:55 +0000 (09:50 +0000)]
Bug 377699 – realizing gtk.Progress() causes SEGV

2008-11-17  Christian Dywan  <christian@imendio.com>

Bug 377699 – realizing gtk.Progress() causes SEGV

* gtk/gtkprogress.c: Define GtkProgress as an abstract type

svn path=/trunk/; revision=21792

17 years agoUpdated Russian translation by Anton Shestakov
Nickolay V. Shmyrev [Sun, 16 Nov 2008 01:30:23 +0000 (01:30 +0000)]
Updated Russian translation by Anton Shestakov

2008-11-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

* ru.po: Updated Russian translation by Anton Shestakov

svn path=/trunk/; revision=21791

17 years agoBug 560602 – Wrong GtkMenuItem default value (test fails)
Christian Dywan [Thu, 13 Nov 2008 08:48:38 +0000 (08:48 +0000)]
Bug 560602 – Wrong GtkMenuItem default value (test fails)

2008-11-13  Christian Dywan  <christian@imendio.com>

Bug 560602 – Wrong GtkMenuItem default value (test fails)

* gtk/gtkmenuitem.c (gtk_menu_item_class_init):
Correct default "label" value to ""

svn path=/trunk/; revision=21788

17 years agoBug 560139 – GtkEntry doesn't paint with the right state
Christian Dywan [Wed, 12 Nov 2008 16:11:30 +0000 (16:11 +0000)]
Bug 560139 – GtkEntry doesn't paint with the right state

2008-11-12  Christian Dywan  <christian@imendio.com>

Bug 560139 – GtkEntry doesn't paint with the right state

* gtk/gtkentry.c (gtk_entry_class_init), (gtk_entry_draw_frame),
(gtk_entry_expose): Reflect the right state if state-hint is set

svn path=/trunk/; revision=21787

17 years agoBug 559619 – invisible-char default cannot be tested
Christian Dywan [Wed, 12 Nov 2008 15:48:51 +0000 (15:48 +0000)]
Bug 559619 – invisible-char default cannot be tested

2008-11-12  Christian Dywan  <christian@imendio.com>

Bug 559619 – invisible-char default cannot be tested

* gtk/tests/defaultvalue.c (test_type):
        Skip invisible-char when testing

svn path=/trunk/; revision=21786

17 years agoImplement, patch from Paul Davis.
Richard Hult [Wed, 12 Nov 2008 15:39:33 +0000 (15:39 +0000)]
Implement, patch from Paul Davis.

2008-11-12  Richard Hult  <richard@imendio.com>

* gtk/gtkdnd-quartz.c: (gtk_drag_set_icon_pixmap): Implement,
patch from Paul Davis.

svn path=/trunk/; revision=21785

17 years agoBug 525550 – GTK+ 2.13.0 GtkCurve test fails
Christian Dywan [Wed, 12 Nov 2008 15:15:02 +0000 (15:15 +0000)]
Bug 525550 – GTK+ 2.13.0 GtkCurve test fails

2008-11-12  Christian Dywan  <christian@imendio.com>

Bug 525550 – GTK+ 2.13.0 GtkCurve test fails

* gtk/tests/object.c (list_ignore_properties),
(object_test_property), (main): Ignore GtkCurve when testing

svn path=/trunk/; revision=21784

17 years agoBug 550942 – [patch] Rework of gdkeventloop-quartz.c
Richard Hult [Wed, 12 Nov 2008 13:30:22 +0000 (13:30 +0000)]
Bug 550942 – [patch] Rework of gdkeventloop-quartz.c

2008-11-12  Richard Hult  <richard@imendio.com>

Bug 550942 – [patch] Rework of gdkeventloop-quartz.c

* gdk/gdk.c:
* gdk/gdkinternals.h: Add eventloop debug facility.
* gdk/quartz/gdkeventloop-quartz.c: Big rework of the quartz
mainloop integration, patch from Owen Taylor. See bug #550942 for
the details.

svn path=/trunk/; revision=21783

17 years agoBug 558586 – handling of keyboard under darwin (quartz)
Richard Hult [Wed, 12 Nov 2008 12:56:17 +0000 (12:56 +0000)]
Bug 558586 – handling of keyboard under darwin (quartz)

2008-11-12  Richard Hult  <richard@imendio.com>

Bug 558586 – handling of keyboard under darwin (quartz)

* gdk/quartz/gdkkeys-quartz.c: Follow up on this bug, only use the
new API when building on 64-bit, since there are still old non-xml
layouts used out there we don't want to break them. (For 64-bit
those layouts doesn't work so we don't have a choice there.)

svn path=/trunk/; revision=21782

17 years agoChain up enter and leave notify handlers
Matthias Clasen [Tue, 11 Nov 2008 18:10:20 +0000 (18:10 +0000)]
Chain up enter and leave notify handlers

svn path=/trunk/; revision=21781

17 years agoBug 553765 – Add orientation API to GtkRange
Michael Natterer [Tue, 11 Nov 2008 18:07:25 +0000 (18:07 +0000)]
Bug 553765 – Add orientation API to GtkRange

2008-11-11  Michael Natterer  <mitch@imendio.com>

Bug 553765 – Add orientation API to GtkRange

* gtk/gtkrange.[ch]: implement the GtkOrientable interface. Add
evil code that makes sure that the stepper_detail and slider_detail
set in GtkRangeClass continue to work with the hacked subclasses
below.

* gtk/gtkscale.[ch]: swallow all code from GtkHScale and GtkVScale
and add gtk_scale_new() and gtk_scale_new_with_range() which take
a GtkOrientation argument. Set slider_detail to "Xscale" so above
evil code works.

* gtk/gtkscrollbar.[ch]: add gtk_scrollbar_new() which takes a
GtkOrientation argument. Set stepper_detail to "Xscrollbar" so
above evil code works.

* gtk/gtkhscale.c
* gtk/gtkvscale.c
* gtk/gtkhscrollbar.c
* gtk/gtkvscrollbar.c: remove all code except the constructor and
call gtk_orientable_set_orientation() in init().

* gtk/gtk.symbols: changed accordingly.

svn path=/trunk/; revision=21780

17 years agoBug 553765 – Add orientation API to GtkRange
Michael Natterer [Tue, 11 Nov 2008 17:47:13 +0000 (17:47 +0000)]
Bug 553765 – Add orientation API to GtkRange

2008-11-11  Michael Natterer  <mitch@imendio.com>

Bug 553765 – Add orientation API to GtkRange

* gtk/gtkrange.[ch]: implement the GtkOrientable interface. Add
evil code that makes sure that the stepper_detail and slider_detail
set in GtkRangeClass continue to work with the hacked subclasses
below.

* gtk/gtkscale.[ch]: swallow all code from GtkHScale and GtkVScale
and add gtk_scale_new() and gtk_scale_new_with_range() which take
a GtkOrientation argument. Set slider_detail to "Xscale" so above
evil code works.

* gtk/gtkscrollbar.[ch]: add gtk_scrollbar_new() which takes a
GtkOrientation argument. Set stepper_detail to "Xscrollbar" so
above evil code works.

* gtk/gtkhscale.c
* gtk/gtkvscale.c
* gtk/gtkhscrollbar.c
* gtk/gtkvscrollbar.c: remove all code except the constructor and
call gtk_orientable_set_orientation() in init().

* gtk/gtk.symbols: changed accordingly.

svn path=/trunk/; revision=21779

17 years agomove deprecated functions together, move setters and getters together,
Michael Natterer [Tue, 11 Nov 2008 15:45:08 +0000 (15:45 +0000)]
move deprecated functions together, move setters and getters together,

2008-11-11  Michael Natterer  <mitch@imendio.com>

* gtk/gtktoolbar.h: move deprecated functions together, move
setters and getters together, some indentation cleanup.

svn path=/trunk/; revision=21778

17 years agoimplement the GtkOrientable interface and deprecate
Michael Natterer [Tue, 11 Nov 2008 15:28:07 +0000 (15:28 +0000)]
implement the GtkOrientable interface and deprecate

2008-11-11  Michael Natterer  <mitch@imendio.com>

* gtk/gtktoolbar.[ch]: implement the GtkOrientable interface
and deprecate gtk_toolbar_get,set_orientation().

* gtk/gtk.symbols: changed accordingly.

svn path=/trunk/; revision=21777

17 years agoBug fixes in Russian translation.
Nickolay V. Shmyrev [Mon, 10 Nov 2008 20:01:46 +0000 (20:01 +0000)]
Bug fixes in Russian translation.

svn path=/trunk/; revision=21776

17 years agoBug 560135 - Print when the user double clicks a printer
Marek Kasik [Mon, 10 Nov 2008 15:33:44 +0000 (15:33 +0000)]
Bug 560135 - Print when the user double clicks a printer

2008-11-10  Marek Kasik  <mkasik@redhat.com>

Bug 560135 - Print when the user double clicks a printer

* gtk/gtkprintunixdialog.c: add handling of double click to
GtkPrintUnixDialog.

svn path=/trunk/; revision=21775

17 years agoargh, actually call the newly added private gtk_paned_calc_position()
Michael Natterer [Fri, 7 Nov 2008 16:50:29 +0000 (16:50 +0000)]
argh, actually call the newly added private gtk_paned_calc_position()

2008-11-07  Michael Natterer  <mitch@imendio.com>

* gtk/gtkpaned.c: argh, actually call the newly added private
gtk_paned_calc_position() instead of the deprecated public
version.

svn path=/trunk/; revision=21774

17 years agoFix my email.
Michael Natterer [Fri, 7 Nov 2008 16:41:39 +0000 (16:41 +0000)]
Fix my email.

svn path=/trunk/; revision=21773

17 years agoBug 553586 – Add orientation API to GtkPaned
Michael Natterer [Fri, 7 Nov 2008 16:39:50 +0000 (16:39 +0000)]
Bug 553586 – Add orientation API to GtkPaned

2008-11-07  Michael Natterer  <mitch@gimp.org>

Bug 553586 – Add orientation API to GtkPaned

* gtk/gtkpaned.[ch]: implement the GtkOrientable interface
and swallow all code from GtkHPaned and GtkVPaned. Add
gtk_paned_new() which takes a GtkOrientation argument. Deprecate
gtk_paned_compute_position() for good (also for GTK_COMPILATION).

* gtk/gtkhpaned.[ch]
* gtk/gtkvpaned.[ch]: remove all code except the constructor and
call gtk_orientable_set_orientation() in init().

* gtk/gtk.symbols: add gtk_box_new().

svn path=/trunk/; revision=21772

17 years agoCheck for child->parent instead of GTK_WIDGET_TOPLEVEL.
Johan Dahlin [Fri, 7 Nov 2008 16:25:26 +0000 (16:25 +0000)]
Check for child->parent instead of GTK_WIDGET_TOPLEVEL.

2008-11-07  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkcontainer.c (gtk_container_buildable_add_child):
    Check for child->parent instead of GTK_WIDGET_TOPLEVEL.

svn path=/trunk/; revision=21771

17 years agoremove bogus newlines in the middle of function calls, fix broken
Michael Natterer [Thu, 6 Nov 2008 23:52:30 +0000 (23:52 +0000)]
remove bogus newlines in the middle of function calls, fix broken

2008-11-07  Michael Natterer  <mitch@imendio.com>

* gtk/gtkscrollbar.c: remove bogus newlines in the middle of
function calls, fix broken indentation and remove trailing
whitespace.

svn path=/trunk/; revision=21769

17 years agoFix broken ChangeLog formatting.
Michael Natterer [Thu, 6 Nov 2008 23:51:59 +0000 (23:51 +0000)]
Fix broken ChangeLog formatting.

svn path=/trunk/; revision=21768